<!--{template header}-->

<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{SITE_URL}index.php?admin_main/stat{$setting['seo_suffix']}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;{$navtitle}</div>
</div>



    <!--{if $departstr}-->

          <div class="pages">{$departstr}</div>

        <!--{/if}-->

<form  method="post" action="{url admin_comment/commentarticlelist}">
    <table class="table">
        <tbody>
           
            <tr class="altbg1"><td colspan="4">可以通过如下搜索条件，检索评论</td></tr>
            <tr>
                <td   class="altbg2">评论内容关键词:<input class="txt form-control" style="width: 30%" name="word" {if isset($_SESSION['word'])}value="{$_SESSION['word']}" {/if}></td>
           
             
            </tr>
 <tr>
                <td   class="altbg2">一页显示数量:(默认显示{$setting['list_default']}条}<input class="txt form-control" style="width: 30%" name="pagesize" {if isset($_SESSION['pagesize'])}value="{$_SESSION['pagesize']}" {/if}></td>
           
             
            </tr>
            <tr>
              <td  rowspan="2" class="altbg2"><input class="btn btn-info" name="submit" type="submit" value="查询"></td>
              </tr>
        </tbody>
    </table>
</form>
[共 <font color="green">{$rownum}</font> 个标签]
<form onsubmit="return confirm('该操作不可恢复，您确认要删除选中的标签吗？');"  action="{SITE_URL}index.php?admin_comment/deletearticlecomment{$setting['seo_suffix']}"  method=post>
    <table class="table" >
        <tr class="header"><td colspan="3">评论列表</td></tr>
        <tr class="header" align="center">
            <td ><input class="checkbox" value="chkall" id="chkall" onclick="checkall('delete[]')" type="checkbox" name="chkall"><label for="chkall">&nbsp;操作</label></td>
              <td  >标题</td>
            <td width="15%" >评论内容</td>
            <td  >评论时间</td>
                  <td>评论作者</td>
              
        </tr>
        <!--{loop $commentlist $comment}-->
        <tr align="center" class="smalltxt">
            <td class="altbg2">&nbsp;
            <input class="checkbox" type="checkbox" id="{$comment['id']}" value="{$comment['id']}" name="delete[]"></td>
               <td  class="">
         <a target="_blank" href="{$comment['url']}">{$comment['title']}</a>
           </td>
           <td width="15%" class="">
        <p>{eval echo clearhtml($comment['content'],200);}</p>
        <a class="btn btn-sm btn-info" data-scroll-inside="true" data-moveable="true" data-toggle="modal"  data-target="#myModal{$comment['id']}">查看详情</a>

                      <div class="modal fade" id="myModal{$comment['id']}">
  <div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
        <h4 class="modal-title">{$comment['title']}</h4>
      </div>
         <div class="modal-body"  style="max-height: 600px;overflow:scroll;">
  {$comment['content']}
 </div>
    </div>
  </div>
</div>
           </td>
           <td  class="">
         {$comment['addtime']}
           </td>
           <td  class="">
         {$comment['author']}
           </td>

            
        </tr>
        <!--{/loop}-->
   
        <tr><td colspan="3" class="altbg1"><input type="submit" class="btn btn-success" value="删除" /></td></tr>
    </table>
       <!--{if $departstr}-->
     <div class="pages">{$departstr}</div>
        <!--{/if}-->
</form>
<script>

</script>
<!--{template footer}-->
